package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Role;
import cn.wolfcode.rbac.query.PageResult;
import cn.wolfcode.rbac.query.QueryObject;

import java.util.List;

public interface IRoleService {
    void delete(Long id);


    void saveOrUpdate(Role role, Long[] ids);

    Role get(Long id);

    List<Role> listAll();

    PageResult query(QueryObject queryObject);
}
